from selenium import webdriver
import time

wd = webdriver.Chrome()
url = 'http://www.baidu.com'
wd.get(url)
print(wd.page_source)
time.sleep(3)
wd.close()
